package com.shj.service;

import com.shj.entity.SysUser;

import java.util.List;

/**
 * @Description TODO
 * @Author songhuajian
 * @Date 2020/1/20 17:25
 **/
public interface SysUserService {

    List<SysUser> findAll();

    SysUser findByUserId(String userId);

    int add(SysUser sysUser, List<String> roles);

    int update(SysUser sysUser, List<String> roles);

    int delete(String userId);

}
